<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN"
        "http://www.w3.org/TR/html4/loose.dtd">
<html>
<head>
    <title>jQuery可见性过滤器</title>
    <meta charset="utf-8">
   
    <style type="text/css">
        div{
            background: red;
            width: 200px;
            height: 100px;;
        }
        .other{
            background: cyan;
            width: 180px;
            height: 20px;
            display: none;
        }
    </style>
</head>
<body>
    <!--定义被选择对象-->
    <!--定义隐藏域文本框-->
    <input type="hidden" value="v01"/>
    <input type="hidden" value="v02"/>
    <input type="hidden" value="v03"/>
    <!--定义块-->
    <div id="one">zero</div>
    <div id="two" class="c02">one</div>
    <div>
        two
        <div class="other">three</div>
        <div id="son" class="other">four</div>
    </div>
    <div class="other">five</div>
    <div></div>
    <span>我是span标签</span>
    <br>
    <!--定义按钮-->
    <input type="button" id="btn01" value="选择所有可见div"/>
    <input type="button" id="btn02" value="选择所有div中不可见的元素"/>
    <input type="button" id="btn03" value="选择所有隐藏域文本框并显示其value值(for遍历)"/>
    <input type="button" id="btn04" value="选择所有隐藏域文本框并显示其value值(foreach()函数遍历)"/>
</body>
</html>